package com.mz.ozy.mvp.view;

import android.app.Activity;
import android.content.Context;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;
import com.mz.ozy.bean.AssetsBean;
import com.mz.ozy.bean.ScheduledOrderBean;
import com.mz.ozy.bean.SortBean;

import org.json.JSONObject;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class ScheduledContract {
    public interface View extends BaseView {
        void geAssetsInfoSuccess(SortBean bean);

        void onEditGoodsCountSuccess(String s);

        void onBuySuccess(ScheduledOrderBean orderBean);
    }

    public interface Presenter extends BasePresenter<View> {
        void geAssetsInfo(Activity activity, String city, String address, String pid, boolean isShow);

        void operateGoods(Activity activity, String id, String gid, String num, String type);

        void onBuy(Context context);
    }
}
